package com.itheima.stock.mapper;

import com.itheima.stock.pojo.entity.SysLog;
import com.itheima.stock.pojo.entity.SysUser;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
* @author 13975
* @description 针对表【sys_log(系统日志)】的数据库操作Mapper
* @createDate 2024-04-21 19:31:27
* @Entity com.itheima.stock.pojo.entity.SysLog
*/
public interface SysLogMapper {

    int deleteByPrimaryKey(Long id);

    int insert(SysLog record);

    int insertSelective(SysLog record);

    SysLog selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(SysLog record);

    int updateByPrimaryKey(SysLog record);

    List<SysLog> getLogsByParam(@Param("username") String username,@Param("operation") String opertaion,@Param("startTime") Date startTime,@Param("endTime") Date endTime);
}
